package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 摄像头对象 omp_af_device_camera
 *
 * @author cjie
 * @date 2022-07-13
 */
@Data
@ApiModel
public class AfDeviceCamera extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 设备序列号 */
    @Excel(name = "设备序列号")
    @ApiModelProperty(value = "设备序列号")
    private String deviceSerial;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String channelName;

    /** 设备状态 */
    @Excel(name = "设备状态")
    @ApiModelProperty(value = "设备状态")
    private Integer status;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请时间")
    private Date addTime;

    /** 监控地址 */
    @ApiModelProperty(value = "监控地址")
    private String pcUrl;

    /** 小程序地址 */
    @ApiModelProperty(value = "小程序地址")
    private String appletUrl;

    /** 分享 */
    @ApiModelProperty(value = "分享")
    private String isShared;

    /** 通道号 */
    @ApiModelProperty(value = "通道号")
    private Integer channelNo;

    /** 图片url */
    @ApiModelProperty(value = "图片url")
    private String picUrl;

    /** 加密 */
    @ApiModelProperty(value = "加密")
    private Integer isEncrypt;

    /** 视频级别 */
    @Excel(name = "视频级别")
    @ApiModelProperty(value = "视频级别")
    private Integer videoLevel;

    /** 许可 */
    @ApiModelProperty(value = "许可")
    private Integer permission;

    /** 添加 */
    @ApiModelProperty(value = "添加")
    private Integer isAdd;

    /** 删除标志(0正常;1删除) */
    @ApiModelProperty(value = "删除标志(0正常;1删除)")
    private String delFlag;

//    <-------业务字段------>
    /** 添加 */
    @Excel(name = "位置")
    @ApiModelProperty(value = "位置")
    private String location;

    /** 添加 */
    @Excel(name = "编号")
    @ApiModelProperty(value = "编号")
    private String cameraNum;

    /** 添加 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String cameraType;

    /** 添加 */
    @Excel(name = "运行状态")
    @ApiModelProperty(value = "运行状态")
    private String cameraStatus;

    /** 电梯id */
    @Excel(name = "电梯id")
    @ApiModelProperty(value = "电梯id")
    private String elevatorId;
}
